#app {
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.page {
    width: 100%;
    height: calc(100vh - 95px);
    padding-top: 45px;
    padding-bottom: 50px;
    overflow-y: scroll;
    &::-webkit-scrollbar {
        display: none;
    }
}

.page-grey {
    width: 100%;
    background-color: #eee;
    padding-top: 45px;
    padding-bottom: 50px;
    min-height: calc(100vh - 95px);
    overflow-y: scroll;
    &::-webkit-scrollbar {
        display: none;
    }
}

// 顶部
.top {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    height: 45px;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #eb7875;
    color: #fff;
    font-size: 130%;
    &.lg {
        background-color: #fff;
        box-shadow: 0 2px 2px #f7f7f7;
        color: #333;
        .icon {
            color: #333 !important;
        }
    }
    .icon {
        color: #fff;
        font-size: 30px;
        &:nth-of-type(2) {
            font-size: 40px;
        }
    }
    .center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .link {
        font-size: 12px;
        text-decoration: underline;
        color: #fff;
    }
}

// 列表
.list {
    .list-item {
        padding: 12px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px dashed #ddd;
        background-color: #fff;
        img {
            width: 24px;
            margin-right: 15px;
        }
        .txt {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .copy {
            color: #fff;
            background-color: #eb7875;
            padding: 2px 6px;
            font-size: 12px;
            border-radius: 5px;
        }
        .icon {
            color: #999;
            font-size: 24px;
        }
        .txt-bar {
            width: 100%;
            p:nth-child(1) {
                font-size: 110%;
                font-weight: 600;
                display: flex;
                justify-content: space-between;
            }
        }
        .prompt {
            color: #c1c1c1;
            margin-top: 5px;
        }
        .red {
            color: #eb7875;
            font-size: 120%;
            font-weight: 600;
        }
    }
}

.big-btn {
    // 加权重是为了覆盖组件库按钮样式
    width: 90%;
    line-height: 40px;
    margin: 0 auto;
    background-color: #eb7572 !important;
    color: #fff !important;
    font-size: 15px;
    text-align: center;
    margin: 20px;
    border-radius: 8px !important;
    &.cancel {
        color: #eb7875 !important;
        background-color: #fff !important;
        text-decoration: underline;
    }
}

// 文本
.intro-txt {
    background-color: #fff;
    padding: 20px;
    line-height: 1.5;
    p {
        margin-bottom: 10px;
    }
}

.fixed {
    position: fixed;
    max-width: 600px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 9999;
    width: 100vw;
    height: calc(100vh - 45px);
    overflow-y: scroll;
    padding-top: 45px;
    background-color: #eee;
    &::-webkit-scrollbar {
        display: none;
    }
    .top {
        z-index: 99999;
    }
}

.money {
    margin-top: 10px;
    padding: 15px;
    background-color: #fff;
    .tit {
        color: #747474;
        font-size: 110%;
        font-weight: 600;
        margin-bottom: 6px;
    }
    .tip {
        color: #c1c1c1;
        margin-top: 8px;
    }
    .van-cell {
        position: relative;
        font-size: 20px;
        border-bottom: 1px solid #eee;
        &::before {
            position: absolute;
            left: -3px;
            top: 50%;
            transform: translateY(-50%);
            content: "￥";
            color: #000;
        }
    }
    .m-list {
        display: flex;
        margin-top: 10px;
        span {
            padding: 2px 5px;
            color: #c1c1c1;
            border: 1px solid #c1c1c1;
            border-radius: 8px;
            margin-right: 10px;
            transition: all ease-in-out 0.3s;
            &.active {
                color: #fff;
                background-color: #eb7875;
                border-color: #eb7875;
            }
        }
    }
}

.choose .van-cell {
    align-items: center;
    .bank {
        font-size: 110%;
        font-weight: 600;
    }
    .info {
        color: #c1c1c1;
        font-size: 12px;
    }
    .icon {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }
}

// vant style reset
.van-tabs__nav {
    background-color: #efefef !important;
}

.box .van-cell {
    align-items: center;
}

// 银行卡样式
.card {
    width: 362px;
    max-width: 90%;
    height: 142px;
    background: url("../assets/images/jh_bg.png") no-repeat center center;
    background-size: 100% 100%;
    margin: 20px auto;
    position: relative;
    color: #cfcfcf;
    font-size: 12px;
    .num {
        position: absolute;
        left: 10%;
        top: 10%;
    }
    .info {
        position: absolute;
        width: 80%;
        left: 10%;
        top: 55%;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }
    em {
        font-style: normal;
        color: #fff;
        font-size: 105%;
    }
}

// 弹窗
.popup {
    min-height: 35vh;
    max-height: 45vh;
    display: flex;
    flex-direction: column;
    &.long {
        height: 55vh;
    }
    .title {
        font-size: 140%;
        padding: 10px;
        border-bottom: 1px solid #eee;
        text-align: center;
        position: relative;
        .close {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            font-family: SimHei;
        }
    }
    .pmt {
        flex: 1;
        padding: 15px;
        font-size: 120%;
        color: #737373;
        text-align: center;
        .f30 {
            font-size: 30px;
            color: #3c3c3c;
        }
    }
}
@media screen and (min-height: 600) {
    .popup {
        height: 60vh;
    }
}

// 钱包央视
.wallet {
    width: 80%;
    margin: 10px auto;
    height: auto;
    padding: 20px 15px;
    box-sizing: border-box;
    background-color: #fdf7e5;
    border-radius: 10px;
    box-shadow: -3px 2px 4px #999;
    line-height: 1.5;
    font-size: 110%;
    .w-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        span:nth-child(1) {
            display: flex;
            img {
                width: 20px;
                margin-right: 5px;
            }
        }
        .rate {
            padding: 2px 8px;
            border-radius: 6px;
            box-shadow: 1px 1px 1px #eee;
            background-color: rgba($color: #fff, $alpha: 0.8);
        }
    }
    .btn {
        margin-top: 30px;
        display: flex;
        justify-content: space-between;
        button {
            border: 0;
            padding: 3px 10px;
            border-radius: 6px;
            color: #fff;
            background-color: #c1c1c1;
            &:nth-child(1) {
                margin-right: 20%;
                color: #3c3c3c;
            }
            &:nth-child(2) {
                background-color: #3c3a4d;
            }
            &:nth-child(3) {
                background-color: #eb7572;
            }
        }
    }
}

.login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    .logo {
        width: 60vw;
        max-width: 360px;
        margin: 50px auto;
    }
    .form {
        border-top: 1px solid #9a98a1;
        border-bottom: 1px solid #9a98a1;
        margin-bottom: 50px;
        .l-icon {
            width: 20px;
            margin-right: 10px;
            margin-top: 10px;
            &.small {
                width: 16px;
                margin-right: 14px;
            }
        }
        input {
            line-height: 40px;
        }
        .code {
            transition: all ease-in-out 0.5s;
            background-color: #eb7875;
            color: #fff;
            border-color: #eb7875;
            border-radius: 5px;
        }
    }
    .l-info {
        width: 90%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        div:nth-child(1) {
            display: flex;
            em {
                color: #c1c1c1;
                margin-left: 5px;
            }
        }
        div:nth-child(2) {
            a {
                text-decoration: underline;
                color: #333;
            }
            span {
                margin: 0 5px;
            }
        }
    }
}
.nav {
    .van-tabs__wrap {
        width: 100%;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 45px;

    }
    .van-tabs__content {
        padding-top: 50px;
    }
}